//
//  Contact.h
//  OC05_NSArray_NSDictionary_NSSet
//
//  Created by dllo on 16/5/26.
//  Copyright © 2016年 Rain. All rights reserved.
//

#import <Foundation/Foundation.h>
// 1、定义联系人类Contact。实例变量：姓名(拼音，首字母大写)、性别、电话号码、住址、分组名称、年龄。方法：自定义初始化方法(姓名、电话号码)、显示联系人信息。


@interface Contact : NSObject
@property (nonatomic,retain) NSString *name;
@property (nonatomic,retain) NSString *gender;
@property (nonatomic,assign) NSInteger phoneNumber;
@property (nonatomic,retain) NSString *address;
@property (nonatomic,retain) NSString *group;
@property (nonatomic,assign) NSInteger age;

-(instancetype)initWithName:(NSString *)name

            withPhoneNumber:(NSInteger)phoneNumber;


+(instancetype)ContactWithName:(NSString *)name

               withPhoneNumber:(NSInteger)phoneNumber;

-(void)contactMessage;

@end


